package com.xyazm.address.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 城市设置
 * </p>
 *
 * @author xuyou
 * @since 2022-06-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "City对象", description = "城市设置")
@TableName("city")
public class CityDO implements Serializable {


    @ApiModelProperty(value = "自增列")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "市代码")
    @TableField("`code`")
    private String code;

    @ApiModelProperty(value = "市名称")
    @TableField("`name`")
    private String name;

    @ApiModelProperty(value = "简称")
    @TableField("short_code")
    private String shortCode;

    @ApiModelProperty(value = "省代码")
    @TableField("province_code")
    private String provinceCode;

    @ApiModelProperty(value = "经度")
    private String lng;

    @ApiModelProperty(value = "纬度")
    private String lat;

    @ApiModelProperty(value = "排序")
    private Integer sort;


}
